<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%
 
 String username=request.getParameter("username");
 String password=request.getParameter("password");
 String msg="";
 
 if(username.equals("Tom")){
	 msg="登录成功";
 
 }else{
 
	 msg="登录失败";
 }
 out.println("<br>INFO:---------------->"+password);
 
 response.getWriter().write(msg); 
 %>